package com.ruoyi.cems.service.impl;

import com.ruoyi.cems.domain.BmsWorkCheckListDetailRemark;
import com.ruoyi.cems.mapper.BmsWorkCheckListDetailRemarkMapper;
import com.ruoyi.cems.service.IBmsWorkCheckListDetailRemarkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

@Service
public class BmsWorkCheckListDetailRemarkServiceImpl implements IBmsWorkCheckListDetailRemarkService {

    @Autowired
    private BmsWorkCheckListDetailRemarkMapper bmsWorkCheckListDetailRemarkMapper;

    @Override
    public List<BmsWorkCheckListDetailRemark> selectBmsWorkCheckListDetailRemarkListByDetailId(String detailId) {
        return bmsWorkCheckListDetailRemarkMapper.selectBmsWorkCheckListDetailRemarkListByDetailId(detailId);
    }

    @Override
    public int insertBmsWorkCheckListDetailRemark(BmsWorkCheckListDetailRemark bmsWorkCheckListDetailRemark) {
        return bmsWorkCheckListDetailRemarkMapper.insertBmsWorkCheckListDetailRemark(bmsWorkCheckListDetailRemark);
    }

    @Override
    public int updateBmsWorkCheckListDetailRemark(BmsWorkCheckListDetailRemark bmsWorkCheckListDetailRemark) {
        return bmsWorkCheckListDetailRemarkMapper.updateBmsWorkCheckListDetailRemark(bmsWorkCheckListDetailRemark);
    }

    @Override
    public int deleteBmsWorkCheckListDetailRemarkByID(String ID) {
        return bmsWorkCheckListDetailRemarkMapper.deleteBmsWorkCheckListDetailRemarkByID(ID);
    }
}
